package com.quan.bookmall.dto;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Data
public class OrderDTO {
    
    private Long id;
    
    private String orderNo;
    
    private Long userId;
    
    private BigDecimal totalAmount;
    
    private Integer status;
    
    private List<OrderItemDTO> orderItems = new ArrayList<>();
    
    private UserDTO user;
    
    private LocalDateTime createTime;
    
    private LocalDateTime updateTime;
} 